using System;
using UnityEngine;

[Serializable]
public class MoveAnimationInfo : KineticAnimationInfo
{
	[Header("Adjustments")]
	public FloatRange xAdjustRange;

	public FloatRange zAdjustRange;

	public FloatRange angleAdjustRange;

	public FloatRange animationSpeedRange;

	[Header("Properties from clip data")]
	public FloatRange adjustmentsTimeWindow;

	public Vector3 positionChange;

	public Quaternion rotationChange;

	public Vector3 GetAdjustVector(float xAdjust, float zAdjust)
	{
		return new Vector3(xAdjustRange.LerpMinMax(xAdjust), 0f, zAdjustRange.LerpMinMax(zAdjust));
	}
}
